<?php
/*
    Template Name: NetVille
*/
    global $more;
    if(isset($more)) unset($more);

get_header("netville");
// leaving div container-netville open

echo "
    <div id='div-outer'>
    <div id='div-mid'>
    <div id='div-inner'>

    <div id='div-left-netville'> \n";
    dynamic_sidebar('netville-left-bar') ;

    echo "</div>\n";

    echo "
            <div id='div-posts-netville'> ";
/*
?>

    <h2>Ad maiorum repudiare mea, te dicat dolores disputando nec.</h2>
<p>
 Sit id eirmod postulant voluptaria, reque eruditi prodesset ei sed, sed nusquam lucilius concludaturque id. Sed soluta commodo sanctus cu, cum omnesque ponderum atomorum te, reque efficiendi qui in. An usu quem assum tantas, ei ubique similique pertinacia sea. Sea dicit nullam persequeris cu, ne utamur indoctum qui, utinam soluta delenit et cum. Adhuc mediocrem reprehendunt est ut, errem choro dolore nec at.</p>

<?php
*/
    query_posts(array('showposts' => '3', 
                      'cat' => '48'));
    if( have_posts() ) {
        while( have_posts() ) {
        echo "<div>\n";
            the_post();
            echo "<h1>";
            the_title();
            echo "</h1>
            <div>\n";
            the_content('Read More', FALSE);
            echo "</div></div>\n";
        }
    }

    echo "</div>  <!-- posts -->\n";
    echo "<div id='div-right-netville'> \n";
    /*
        ?>
        <h2>Right Header</h2>
        <p>some content</p>
        <?php
    */
    dynamic_sidebar('netville-right-bar') ;
    echo "
    </div>\n"; 



    echo "
    </div> <!-- div-inner -->\n
    </div> <!-- div-mid -->\n
    </div> <!-- div-outer -->\n";

    echo "<div id='div-footer-netville'>
    </div>\n";
    echo "
    </div> <!-- div-container -->\n";
    echo "
    </body>
</html>";
            
// get_footer();
// print_r("page.php");
?>
